<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="zh-cn">
    <meta charset="UTF-8"/>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-touch-fullscreen" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="description" content="厚和尚品"/>
    <meta name="keywords" content="厚和尚品"/>
    <title th:text="${title}">物流信息</title>
    <link rel="apple-touch-icon-precomposed" href=""/>
    <link rel="apple-touch-startup-image" href=""/>
    <link rel="stylesheet" href="mall/css/css.css" th:href="@{/mall/css/css.css}"/>
    <link rel="stylesheet" href="mall/lib/layer/layer_mobile/need/layer.css"
	th:href="@{/mall/lib/layer/layer_mobile/need/layer.css}"/>
    <script type="text/javascript" src="mall/lib/zpeto/zepto-1.2.0.min.js"
	th:src="@{/mall/lib/zpeto/zepto-1.2.0.min.js}"></script>
	<script type="text/javascript" src="mall/lib/layer/layer_mobile/layer.js" th:src="@{/mall/lib/layer/layer_mobile/layer.js}"></script>
    <script type="text/javascript" src="mall/js/comm.js"
	th:src="@{/mall/js/comm.js}"></script>
    <!--  引入jquery标签库  -->
    <script type="text/javascript" src="mall/js/jquery.cityselect.js" th:src="@{/mall/js/jquery.cityselect.js}"></script>
    <link rel="stylesheet" href="../mall/frozenui/css/frozen.css"/>
</head>
<body>
<div class="order-list">
    <div th:text="|快递单号:${trackingInFormation.LogisticCode}|" style="font-size:150%" >物流编号：1231413423412345134</div>
    <input type="hidden" th:value="${trackingInFormation.Reason}" id="hidden1"/>
    <div class="o-title-shop" th:if="${trackingInFormation.State == '0'}">
           	  	<div class="state" >物流信息正在查询中，请重新刷新
            	</div>
            	<div style="display:inline;position: absolute;right:0px">
           		 	<button class="ui-btn ui-btn-danger" id="but1" style="height:25px"  >刷新</button>
           		 </div>
     </div>
        
        
    <div class="item"  th:each="trackingStatusInformation: ${trackingInFormation.Traces}">
         <font style="font-size:125%"> 
         <div class="state" th:text="${trackingStatusInformation.AcceptTime}">物流时间</div>
        <div class="state" th:text="${trackingStatusInformation.AcceptStation}">物流信息</div>
        </font>
	</div>
	
	
	<form id="form1" action="/member/trackingInformationCheck" method="post" >
	<!-- 物流公司的编码和物流编号 -->
		<input type="hidden" th:value="${trackingInFormation.ShipperCode}" name="companyCode"/>
		<input type="hidden" th:value="${trackingInFormation.LogisticCode}" name="trackingNumber"/> 
	</form>
</div>
    
<div class="bottom-fxied" style="left: 0px; bottom: 0px; width: 100%; display: block;">
    <div class="footer-menu">
        <a th:href="@{/main/}" class="home"><img src="mall/img/ico-home-01.png" th:src="@{/mall/img/ico-home-01.png}" alt=""/></a>
        <a th:href="@{/main/list/all}" class="link-single">全部尚品</a>
        <a th:href="@{/member/main}" class="link-single">我的订单</a>
    </div>
</div>

<script type="text/javascript">
$(function(){
	var reason=$("#hidden1").val();
		if(reason=="暂无轨迹信息"){
			 layer.open({
  			content: '物流信息正在查询中，请重新刷新',
  			scrollbar: false,
  			time:1
			}); 
		}
		
	$("#but1").click(function(){
		$("#form1").submit();	
	})
})
	
	
	
</script>
</body>
</html>